<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="myaccount_contents">
<form method="post" action="myaccount/fileUploadAction" enctype="multipart/form-data" id="accountform">  
<h1></h1>
<h3>정보 수정</h3>
	<ul id="account_info">
	<li class="account_info">사진</li>
		<li class="account_info2">
		<input type="file" id="file" name="file" value="${emp.imgPath }">
		</li>
		
		<li class="account_info">이름</li>
		<li class="account_info2">${emp.name }</li>
		
		<li class="account_info">부서</li>
		<li class="account_info2">
			<select id="deptNo">
				<option value="${emp.deptNo }">${empdept.deptName }</option>
				<c:forEach var="deptlist" items="${dept }">
					<option value="${deptlist.deptNo }">${deptlist.deptName }</option>
				</c:forEach>
			</select>
		</li>
			
		<li class="account_info">직위</li>
		<li class="account_info2">
			<select id="position">
				<option value="${emp.position }">${emppos.positionName }</option> 
				<c:forEach	var="poslist" items="${positionName }">
					<option value="${poslist.positionNo }">${poslist.positionName}</option>
				</c:forEach> 
			</select>
		</li>
		<li class="account_info">팀</li>
		<li class="account_info2">
			<select id="teamNo">
				<option value="${emp.teamNo }">운영팀 1팀</option>
			</select>

		<li class="account_info">핸드폰</li>
		<li class="account_info2"><input type="text" id="phone" value="${emp.phone }"></li>

		<li class="account_info">E-mail</li>
		<li class="account_info2">
		<input type="text" id="email" value="${emp.email }"></li>
		
		
	</ul>
	
	<input type="button" onclick="myAccountSubmit()" value="완료" class="btn">
	</form>
</div>

